import request from "@/utils/request.js";
//个人记录
export const getWorklogList = (data) => {
	return request({
		url: "/app/work/record/pages",
		method: "POST",
		data,
	});
};
//个人记录 新增编辑工作记录
export const savetWorklog = (data) => {
	return request({
		url: "/app/work/record/save",
		method: "POST",
		data,
	});
};
//个人记录 查询工作记录
export const getWorklogInfo = (id) => {
	return request({
		url: "/app/work/record/info?id="+id,
		method: "GET",
	});
};
//个人记录 删除工作记录
export const deletWorklog = (data) => {
	return request({
		url: "/app/work/record/del",
		method: "POST",
		data,
	});
};